package com.xinqi.modules.course.clazz.dto.req;

import com.xinqi.common.base.annotations.ApiQueryParam;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 学生加入班级审核-查询参数
 *
 * @author: system
 * @date: 2023/01/17
 */
@Data
@ApiQueryParam
public class ClassJoinAuditQueryDTO implements Serializable {
    /**
     * ID
     */
    private Long id;

    /**
     * 班级ID
     */
    @NotNull(message = "缺少班级id")
    private Long classId;

    /**
     * 学生id
     */
    private Long studentId;

    /**
     * 审核状态 UNAUDITED("UNAUDITED", "待审核"), PASS("PASS", "通过"), REJECT("REJECT", "拒绝");
     */
    private String status;

    /**
     * 查询条件
     */
    private String searchKey;
}
